package com.suse.ecommerce.pojo;

import java.io.Serializable;

public class Seckill implements Serializable {
    private Long id;

    private Long productId;

    private Long seckillPrice;

    private Integer stockCount;

    private Integer timeId;

    private static final long serialVersionUID = 1L;

    private Product product;

    public SeckillTime getSeckillTime() {
        return seckillTime;
    }

    public void setSeckillTime(SeckillTime seckillTime) {
        this.seckillTime = seckillTime;
    }

    private SeckillTime seckillTime;

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Seckill(Long id, Long productId, Long seckillPrice, Integer stockCount, Integer timeId) {
        this.id = id;
        this.productId = productId;
        this.seckillPrice = seckillPrice;
        this.stockCount = stockCount;
        this.timeId = timeId;
    }

    public Seckill() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSeckillPrice() {
        return seckillPrice;
    }

    public void setSeckillPrice(Long seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    public Integer getStockCount() {
        return stockCount;
    }

    public void setStockCount(Integer stockCount) {
        this.stockCount = stockCount;
    }

    public Integer getTimeId() {
        return timeId;
    }

    public void setTimeId(Integer timeId) {
        this.timeId = timeId;
    }
}